<?php
    //error_reporting(E_ALL);
	header('Content-type: text/json');
	require 'MySqlHelper.php';
	$connObj = new MySqlHelper();
	$arr=$connObj->GetJsonData('select ID as NODEID,NavName as NODENAME,PID from NavTree order by OrderID;');
	if(count($arr)>0)
	{
		echo json_encode($arr);
	}